package com.koron.css2.clientCenter.bean;

import com.koron.css2.baseConfig.bean.BaseBean;
import com.koron.util.Check;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 客户信息实体类
 *
 * @author zheny
 *
 */
@Data
public class CtmInfoBean extends BaseBean implements Cloneable{
	public static int CTM = 1;//正式表
	public static int CTMTEMP=2;//临时表
	public static int CTMHST=3;//历史表

	private String registrationSn;  // 登记编号

	//@Check(name = "客户编号", notEmpty = true)
	private String ctmNo;// 客户编号

	@Check(name = "客户名称", notEmpty = true)
	private String ctmName;// 客户名称

	private String ctmAddr;// 客户地址

	@Check(name = "客户类型", notEmpty = true)
	private String ctmType;// 客户类型
	private String ctmTypeName;// 客户类型名称

	private String creditLevel;// 信用等级
	private String creditLevelName;// 信用等级名称

	@Check(name = "证件类型", notEmpty = true)
	private String certType;//证件类型
	private String certTypeName;//证件类型

	@Check(name = "证件号码", notEmpty = true)
	private String certNo;//证件号码
	private String linkTel;// 座机号码

	//@Check(name = "手机号码", notEmpty = true, pattern = "^1\\d{10}$")
	private String mobile;// 手机号码
	private String faxNumber;//传真号码
	private Integer userAmount;	//用户数量
	private String acceptSMS;//受理短信

	public String getAcceptSMS() {
		return acceptSMS;
	}

	public void setAcceptSMS(String acceptSMS) {
		this.acceptSMS = acceptSMS;
	}

	@ApiModelProperty("客户结构化地址")
	private String clientAddr;

	@ApiModelProperty("客户结构化地址id")
	private String clientAddrId;

	@ApiModelProperty("客户结构化地址名称")
	private String clientAddrName;

	@ApiModelProperty("客户结构化地址详情")
	private String clientAddrDetail;

	public String getRegistrationSn() {
		return registrationSn;
	}

	public void setRegistrationSn(String registrationSn) {
		this.registrationSn = registrationSn;
	}

	public String getClientAddr() {
		return clientAddr;
	}

	public void setClientAddr(String clientAddr) {
		this.clientAddr = clientAddr;
	}

	public String getClientAddrDetail() {
		return clientAddrDetail;
	}

	public void setClientAddrDetail(String clientAddrDetail) {
		this.clientAddrDetail = clientAddrDetail;
	}

	public Integer getUserAmount() {
		return userAmount;
	}

	public void setUserAmount(Integer userAmount) {
		this.userAmount = userAmount;
	}

	public String getCertType() {
		return certType;
	}

	public void setCertType(String certType) {
		this.certType = certType;
	}

	public String getCertNo() {
		return certNo;
	}

	public void setCertNo(String certNo) {
		this.certNo = certNo;
	}

	public String getCtmNo() {
		return ctmNo;
	}

	public void setCtmNo(String ctmNo) {
		this.ctmNo = ctmNo;
	}

	public String getCtmName() {
		return ctmName;
	}

	public void setCtmName(String ctmName) {
		this.ctmName = ctmName;
	}

	public String getCtmAddr() {
		return ctmAddr;
	}

	public void setCtmAddr(String ctmAddr) {
		this.ctmAddr = ctmAddr;
	}

	public String getCtmType() {
		return ctmType;
	}

	public void setCtmType(String ctmType) {
		this.ctmType = ctmType;
	}
	public String getCreditLevel() {
		return creditLevel;
	}

	public void setCreditLevel(String creditLevel) {
		this.creditLevel = creditLevel;
	}

	public String getLinkTel() {
		return linkTel;
	}

	public void setLinkTel(String linkTel) {
		this.linkTel = linkTel;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getFaxNumber() {
		return faxNumber;
	}

	public void setFaxNumber(String faxNumber) {
		this.faxNumber = faxNumber;
	}

	public static int getCtm() {
		return CTM;
	}

	public static void setCtm(int ctm) {
		CTM = ctm;
	}

	public static int getCtmtemp() {
		return CTMTEMP;
	}

	public static void setCtmtemp(int ctmtemp) {
		CTMTEMP = ctmtemp;
	}

	public static int getCtmhst() {
		return CTMHST;
	}

	public static void setCtmhst(int ctmhst) {
		CTMHST = ctmhst;
	}

	public String getCtmTypeName() {
		return ctmTypeName;
	}

	public void setCtmTypeName(String ctmTypeName) {
		this.ctmTypeName = ctmTypeName;
	}

	public String getCreditLevelName() {
		return creditLevelName;
	}

	public void setCreditLevelName(String creditLevelName) {
		this.creditLevelName = creditLevelName;
	}

	public String getCertTypeName() {
		return certTypeName;
	}

	public void setCertTypeName(String certTypeName) {
		this.certTypeName = certTypeName;
	}

	@Override
	public CtmInfoBean clone() throws CloneNotSupportedException {
		return (CtmInfoBean) super.clone();
	}
}
